package cn.gxa.j229.bug.finance.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Loan implements Serializable {
    private Integer id;

    private String num;

    private String borrower;

    private String phone;

    private String entitle;

    private Integer grade;

    private String guarantee;

    private String type;

    private Double money;

    private Double annual;

    private Integer repayment;

    private String deadline;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date created;

    private Integer state;

    private Integer way;

    private Double monthly;

    private Double penalty;

    private Integer purpose;

    private String source;

    private Integer assure;

    private Integer pledge;

    private String materials;

    private String datum;

    private Double managerfee;

    private Double paymoney;//已投金额

    private Double speed ;//投资进度

    private String remarks;//进行中标的下架备注

    private Integer pass;//满标复审通过

    private String passs;

    private Integer limit;

    private Integer page;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date audittime;


}